package com.quiz.bis.domain.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.quiz.common.core.domain.BaseModel;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 考试子分组实体
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("exam_subgroups")
public class ExamSubgroup extends BaseModel {
    private static final long serialVersionUID = 1L;

    @TableId
    private Long id;

    @TableField("exam_group_id")
    private Long examGroupId;

    @TableField("parent_id")
    private Long parentId;

    @TableField("name")
    private String name;

    @TableField("level_path")
    private String levelPath;

    @TableField("sort")
    private Integer sort;
}